package org.itboys.admin.entity.lasted.process;

import org.mongodb.morphia.annotations.Entity;
import org.itboys.mongodb.entity.BaseMongoEntity;
/**
 * 作者：jiangxiong
 * 日期：2017年2月27日
 * 联系方式 ：empty90911@126.com
 * 描述：系统_流程（审核）_模板
 */

@Entity(value = "SystemProcessTemplate", noClassnameStored = true)
public class SystemProcessTemplate extends BaseMongoEntity {

	private static final long serialVersionUID = 7144157080083147958L;
//	private String number;//模板编号

	private String key;//模板KEY。用于后台调用流程
	private String name;//名称

	private String desc;//备注
	private Integer nodes;//审核节点数量

	//以下下流程主体启动的信息

	private String processTitle;//流程标题
	private Integer processType;//流程类型
	private String processDesc;//流程备注
	public SystemProcessTemplate() {

	}

	public SystemProcessTemplate(String key, String name, String desc) {
		this.key = key;
		this.name = name;
		this.desc = desc;
	}

	public SystemProcessTemplate(Long id) {
		super.setId(id);
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public Integer getNodes() {
		return nodes;
	}

	public void setNodes(Integer nodes) {
		this.nodes = nodes;
	}



	public String getProcessTitle() {
		return processTitle;
	}

	public void setProcessTitle(String processTitle) {
		this.processTitle = processTitle;
	}

	public Integer getProcessType() {
		return processType;
	}

	public void setProcessType(Integer processType) {
		this.processType = processType;
	}

	public String getProcessDesc() {
		return processDesc;
	}

	public void setProcessDesc(String processDesc) {
		this.processDesc = processDesc;
	}
}
